Poll{ }
Poll{
  this.creationTimestamp=new Timestamp(System.currentTimeMillis());
}
setOwner{ }
getQuestions{ }
getOpinions{ }
getPermissionsPolicies{ }
getEndTimestamp{ }
getSerializer{ }
serialize{
  JsonObject representation=new JsonObject();
  representation.addProperty("id",src.id);
  representation.addProperty("owner",src.owner.getId());
  representation.add("endTimestamp",context.serialize(src.endTimestamp));
  representation.add("questions",context.serialize(src.questions));
  representation.add("opinions",context.serialize(src.opinions));
}
